-
Notifications
You must be signed in to change notification settings - Fork 121
AINFRA-781 - Make YosemiteTests a Swift package test target #15797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Generated by 🚫 Danger |
| ], | ||
| resources: [ | ||
| .process("Resources"), | ||
| .process("../NetworkingTests/Responses") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also #15796 description regarding sharing the Responses assets
8275c2a to
3577fb5
Compare
|
|
915a045 to
550c2eb
Compare
itsmeichigo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the same issues that Jaclyn reported in the previous PR: the old projects still exist in the navigator and I have to switch schemes to run tests for a different target:
I suppose you'd need to force push again to bring fixes from the previous PR to this one. I'm also seeing conflicts, looks like the tests were still being updated while this work is in progress. I hope it's straightforward to handle the conflicts.
Regarding the testing information section:
Additionally, you can run the focused Hardware tests by selecting the Hardware scheme from Xcode.
I confirm that CI is passing, but I don't understand why I need to run Hardware tests in this PR. I tried running Yosemite tests and got a crash:
freed pointer was not the last allocation
It's odd that this happened locally and not on CI. I hope it's an issue with the selected simulator, like how Gabriel encountered the crash in StorageTests in #15794.
550c2eb to
93ec55a
Compare
|
Hi @itsmeichigo . Sorry for the late reply. I wanted to ack your comments. I haven't addressed them yet because I'll wait for the base PR to land, #15796 . Thanks! |
38cdac3 to
35d3684
Compare
|
Here we go @itsmeichigo everything is green now. Would appreciate a new review 🙇♂️ |
35d3684 to
3b8bb65
Compare
itsmeichigo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and confirmed that the issues in my last comment were resolved. I ran Yosemite tests and they passed without issues.

Description
Now that all the frameworks sources are Swift packages (targets in the same Swift package to be precise) we can move the tests there, too. We didn't do that all in one go to avoid big diffs.
Notice:
Yosemite/folder has been removed, including the dedicated Xcode projectTesting information
See green CI.
Additionally, you can run the focused Hardware tests by selecting the Hardware scheme from Xcode.
Screenshots
RELEASE-NOTES.txtif necessary. — N.A.